<?php
/**
 * @filesource:					RoleUserModel.class.php
 * @desc:						角色用户模型类
 * 
 * @author:						houyining
 * @copyright:					hou.yining@gmail.com
 * @date:						2011-04-22
 */

class RoleUserModel extends Model{
	public function deleteRoleUser($role_id){
		return $this->where(array('role_id' => $role_id))->delete();
	}
	
	public function deleteUserRole($user_id){
		return $this->where(array('user_id' => $user_id))->delete();
	}
}